package top.scsoul.voes.common.core.domain.model;

import javax.validation.constraints.NotEmpty;

public class LoginUser {
    @NotEmpty(message = "用户名为空")
    private String username;
    @NotEmpty(message = "密码为空")
    private String password;
    private String captchaKey;
    @NotEmpty(message = "验证码为空")
    private String captcha;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCaptchaKey() {
        return captchaKey;
    }

    public void setCaptchaKey(String captchaKey) {
        this.captchaKey = captchaKey;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    @Override
    public String toString() {
        return "LoginUser{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", captchaKey='" + captchaKey + '\'' +
                ", captcha='" + captcha + '\'' +
                '}';
    }
}
